using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace FeatureWally.Client.Data {
    [Serializable]
    public class FWUserData {
        private string _url = string.Empty;
        private string _lastSearchWord = string.Empty;
        private bool _isPersisted = false;
        public FWUserData() {
        }
        public string Url {
            get { return _url; }
            set { _url = value; _isPersisted = false; }
        }
        public string LastSearchWord {
            get { return _lastSearchWord; }
            set { _lastSearchWord = value; _isPersisted = false; }
        }

        public bool IsDataPersisted() {
            return _isPersisted;
        }
        public void DataHasBeenPersisted() {
            _isPersisted = true;
        }
    }

}
